<template>
<div id="app">
<keep-alive><!--路由缓存页面-->
  <router-view></router-view>
</keep-alive>
<!-- 
<keep-alive>      
    <router-view v-if="$route.meta.keepAlive"/>    
</keep-alive>    
<router-view v-if="!$route.meta.keepAlive"/> -->
</div>
</template>

<script>
export default {
  name: 'App'
}
</script>
<style>
body,html{overflow:hidden;width:100%;height:100%}
body{padding:0;margin:0;font-size:12px;font-family:"微软雅黑";width:100%;height:100%}
#app{margin:0;padding:0;width:100%;height:100%;}
</style>

